<?php
/**********************************************************************
 * Filename: live_draft.php
 * 
 * This page houses the live Java jar
 * 
 * Author: Tim Schmalz
 * Date Created: 10/02/2009
 *
 **********************************************************************/

//The common.php file contains 
include_once "common.php";

echo "$header_open";
echo "$css_team_home";
echo "$js_team_home";
echo "$header_close";

//Styling for the live draft.  It needs special styling because 
//it is larger than the standard container.
echo "<STYLE type='text/css'>
        #wrapper {
            width: 1180px;
            background-color: #FFFFFF;
        }
        #inner {
            width: 1180px;
            background: #FFFFFF;
        }       
        #masthead {
            width: 1180px;
        }
        #footer {
            width: 1180px;
        }
        #message {
            background-color: #FFFFFF;
            height: 40px;
            width: 600px;
            margin: 10px 30px 30px;
        }
        #draft {
            background-color: #FFFFFF;
        }
        
                 
    </STYLE>";

?>
<body>
<div id="wrapper">
	<div id="inner">
		<div id="masthead">
			<h1>
			</h1>
			<ul>
				<?php 
					echo"$g_nav_bar";
				?>
			</ul>
		</div>
        
        <div id='message'>If you navigate away from this page once the draft begins you will be dropped and
              your team will be randomly selected from the remaining players.  Once the draft is
              finished please click any of the links above to schedule your league! </div>
	    <div id="draft" style="margin: 0px 25px 0px 25px;" width="1167" height="718">
		<APPLET
     	     archive="DraftClient.jar, beansbinding-1.2.1.jar, DraftBeans.jar"
     	     code="applet/Draft_Applet.class"
     	     width="1117"
		     height="718"
		     >
		</APPLET>
		</div>

		<div id="footer">
			<p>©2009 Michigan Tech. All Rights Reserved.</p>
		</div>

	</div>    

</div>
</body>
</html>
